from django.contrib import admin
from intr.models.models import Membership, Society

class SocietyAdmin(admin.ModelAdmin):
	list_display = ('name',)
	prepopulated_fields = {'slug':('name',),}


class MembershipAdmin(admin.ModelAdmin):
	list_display = ('member', 'society', 'position', 'date_joined', 'public',)


admin.site.register(Society, SocietyAdmin)
admin.site.register(Membership, MembershipAdmin)
